<%@ page language="java"  import="java.util.*,SiTuQingYou.vo.*,SiTuQingYou.vo.*" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 <%String path = request.getContextPath();%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style type="text/css">
	#page{width:100%;height:320vh;}
	#menu{width:1200px;margin:0px auto;}		
	#menu ul{margin-top:0px;list-style:none;padding-left:0px;}	
	#menu>ul> li{text-align:center;width:350px;height:480px;float:left;border:2px solid black;background-color:#ddd;margin-left:10px;margin-top:10px;}
	img{width:346px;height:200px;}
	#title{text-align:center;width:100%;height:100px;line-height:100px;color:darkcyan;}
</style>
</head>
<body>
<jsp:include page="header.jsp"></jsp:include>
<div id="page">
<div id="title"><font size="10px" face="隶书"><a style="text-decoration:none;color:darkcyan;" href="<%=path %>/index/index.jsp">搜索页</a></font></div>
<div id="menu">
<jsp:include page="/ScenehomeServlet"><jsp:param value="checkallbysearch" name="method"/></jsp:include>

<%ArrayList<Scene> allcheck = (ArrayList<Scene>) request.getAttribute("allcheck"); 
ArrayList<String> pics = (ArrayList<String>) request.getAttribute("pics");
%>
<ul>
<%
for(int i=0;i<allcheck.size();i++)
{
	Scene scene = allcheck.get(i);
	String pic = pics.get(i);
	String str = "";
	if(scene.isHot()==true){str="热门";}
	%>
	<li>
		<ul>
			<a style="text-decoration:none;color:darkcyan;" href="<%=path%>/index/sceneinfo.jsp?method=sceneinfo&id=<%=scene.getId()%>">
			<li><img src="<%=path%>/images/<%=pic%>"><li><br/>
			<li><%=scene.getScenename()+"<br/><br/>"%></li>
			<li><%=scene.getCity().getCityname()+"<br/><br/>" %></li>
			<li><%=scene.getIntro() +"<br/><br/>"%></li>
			<li><%=scene.getTheme().getClassname()+"<br/>"+str %></li>
			</a>
		</ul>
	</li>
<%	
}
%>
</ul>
</div>
</div>
<jsp:include page="footer.jsp"></jsp:include>
</body>
</html>